package com.strange.mdl.module.mdl.controller.admin.sutras.vo.volumes;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 经书卷新增/修改 Request VO")
@Data
public class MdlSutraVolumesSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32501")
    private Long id;

    @Schema(description = "经书ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10665")
    @NotNull(message = "经书ID不能为空")
    private Long sutraId;

    @Schema(description = "卷号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "卷号不能为空")
    private Integer volumeNumber;

    @Schema(description = "卷标题")
    private String volumeTitle;

}
